package com.example.constant;

/**
 * url公用类
 *
 * @author czx
 * @since 2022/5/13 22:48
 */

public class BaseUrls {
    /**
     * 员工特定访问
     */
    public static final String[] employeeUrls = new String[]{"/employee/**",  // 员工登录才能查看
            "/dish/status/**", //修改菜品信息
            "/setmeal/status/**",// 修改套餐信息
            "/orders/page", "/orders", "/dish/page"};
    /**
     * 用户特定访问
     */
    public static final String[] userUrls = new String[]{"/shoppingCart/**", "/addressBook/**", "/orders/userPage", "/orders/submit"};

    /**
     * 定义不需要处理的请求路径
     */
    public static final String[] urls = new String[]{"/employee/login",//员工登录
            "/employee/logout",//员工退出
            "/backend/**",//后台页面请求
            "/front/**",//前台页面请求
            "/common/**",//上传和下载
            "/user/sendMsg",// 发送验证码
            "/user/login", //用户登录
            "/user/pwdLogin",//用户密码登录
            "/user/sendMail",//发送邮件验证码
            "/user/mailLogin" //邮箱验证码登录
    };
}
